home *** CD-ROM | disk | FTP | other *** search
/ Exame Informatica 139 / Exame Informatica 139.iso / Revista / Flash / Uniform Server / diskw / usr / local / mysql / bin / my-small.cnf next >
Encoding:
Text File  |  2005-02-22  |  2.1 KB  |  82 lines

  1. # The Uniform Servers MySql Config File.
  2. # One can use all long options that the program supports.
  3. # Run the program with --help to get a list of available options
  4.  
  5. # This will be passed to all mysql clients
  6. [client]
  7. #password=my_password
  8. port=3306
  9. #socket=MySQL
  10.  
  11. # Here is entries for some specific programs
  12. # The following values assume you have at least 32M ram
  13.  
  14. # The MySQL server
  15. [mysqld]
  16.  
  17. port=3306
  18. #socket=MySQL
  19. skip-locking
  20. set-variable    = key_buffer=16K
  21. set-variable    = max_allowed_packet=1M
  22. set-variable    = thread_stack=64K
  23. set-variable    = table_cache=4
  24. set-variable    = sort_buffer=64K
  25. set-variable    = net_buffer_length=2K
  26. server-id    = 1
  27.  
  28. # Uncomment the following if you want to log updates
  29. #log-bin
  30.  
  31. # Uncomment the following rows if you move the MySQL distribution to another
  32. # location
  33. basedir = "/usr/local/mysql/"
  34. datadir = "/usr/local/mysql/data/"
  35. tmpdir = "/tmp"
  36. # character-sets-dir=/usr/local/mysql/share/charsets/
  37. # default-character-set=win1251";
  38.  
  39.  
  40. # Uncomment the following if you are NOT using BDB tables
  41. #skip-bdb
  42.  
  43. # Uncomment the following if you are NOT using innodb tables
  44. skip-innodb
  45.  
  46. # Uncomment the following if you are using Innobase tables
  47. #innodb_data_file_path = ibdata1:100M
  48. #innodb_data_home_dir = /usr/local/mysql/data/
  49. #innodb_log_group_home_dir = /usr/local/mysql/data/
  50. #innodb_log_arch_dir = /usr/local/mysql/data/
  51. #set-variable = innodb_mirrored_log_groups=1
  52. #set-variable = innodb_log_files_in_group=3
  53. #set-variable = innodb_log_file_size=5M
  54. #set-variable = innodb_log_buffer_size=8M
  55. #innodb_flush_log_at_trx_commit=1
  56. #innodb_log_archive=0
  57. #set-variable = innodb_buffer_pool_size=16M
  58. #set-variable = innodb_additional_mem_pool_size=2M
  59. #set-variable = innodb_file_io_threads=4
  60. #set-variable = innodb_lock_wait_timeout=50
  61.  
  62. [mysqldump]
  63. quick
  64. set-variable    = max_allowed_packet=16M
  65.  
  66. [mysql]
  67. no-auto-rehash
  68. # Remove the next comment character if you are not familiar with SQL
  69. #safe-updates
  70.  
  71. [isamchk]
  72. set-variable    = key_buffer=8M
  73. set-variable    = sort_buffer=8M
  74.  
  75. [myisamchk]
  76. set-variable    = key_buffer=8M
  77. set-variable    = sort_buffer=8M
  78.  
  79. [mysqlhotcopy]
  80. interactive-timeout
  81.